package com.example.hfSystem.entity.pojo;


import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 取消订单表
 * </p>
 *
 * @since 2024-04-09
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("cancel_order")
@ApiModel(value = "CancelOrder对象", description = "取消订单表")
public class CancelOrder implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("订单编号")
    @TableField("order_number")
    private String orderNumber;

    @ApiModelProperty("姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty("手机")
    @TableField("phone")
    private String phone;

    @ApiModelProperty("身份证")
    @TableField("id_card")
    private String idCard;

    @ApiModelProperty("汉服类型")
    @TableField("hanfu_type")
    private String hanfuType;

    @ApiModelProperty("价格")
    @TableField("price")
    private Float price;

    @ApiModelProperty("租期")
    @TableField("tenancy")
    private Integer tenancy;

    @ApiModelProperty("总价")
    @TableField("total_price")
    private Float totalPrice;

    @ApiModelProperty("取消日期")
    @TableField("cancel_time")
    private LocalDate cancelTime;

    @ApiModelProperty("取消原因")
    @TableField("cancel_cause")
    private String cancelCause;

    @ApiModelProperty("账号")
    @TableField("account")
    private String account;

    @ApiModelProperty("跨表用户id")
    @TableField("crossuserid")
    private Long crossuserid;

    @ApiModelProperty("跨表主键id")
    @TableField("crossrefid")
    private Long crossrefid;

    @ApiModelProperty("审核状态")
    @TableField("audit_statue")
    private String auditStatue;

    @ApiModelProperty("审核回复")
    @TableField("audit_reply")
    private String auditReply;

    @ApiModelProperty("支付状态")
    @TableField("is_pay")
    private String isPay;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;


}
